package com.five.admin.server;

import com.baomidou.mybatisplus.extension.service.IService;
import com.five.admin.dto.RoleUpdateMenuDto;
import com.five.pojo.entity.Role;

import java.util.List;

public interface RoleService extends IService<Role> {

    void deleteRole(Long adminId);

    List<Long> findByAdminId(Long adminId);

    int updateRoleAndMenu(RoleUpdateMenuDto roleUpdateMenuDto);

    int deleteRoleMenu(Long roleId);
}
